<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:92:"C:\phpstudy\WWW\tea\public/../application/operation_management\view\copyright\copyright.html";i:1532078890;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title>版权声明</title>

    <meta name="keywords" content="">
    <meta name="description" content="">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link rel="shortcut icon" href="favicon.ico"> <link href="/static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/static/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/static/css/animate.css" rel="stylesheet">
    <link href="/static/css/style.css?v=4.1.0" rel="stylesheet">
    <script type="text/javascript" charset="utf-8" src="/static/utf8-php/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/static/utf8-php/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="/static/utf8-php/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<form action="<?php echo url('Operation_management/Copyright/add'); ?>" enctype="multipart/form-data" method="post">
    <div class="ibox-content">
    <input type="text" name="content"  style="display: none;">
    <input type="text" name="id" value="<?php echo $res['id']; ?>"  style="display: none;">
        <table class="table table-bordered">
            <!-- <div class="text"> 
                <script id="editor" type="text/plain" style="width:1000px;height:400px;"></script>
            </div> -->
            <!-- 加载编辑器的容器 -->
            <script id="container" name="content" type="text/plain">
            <?php echo $res['content']; ?>
            </script>
        </table>
        <button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="submit" style="margin-bottom: 10px;width: 85px;margin-top:10px;margin-right: 15px;" onclick="getContent()"><strong>确定上传</strong>
                 </button>
</form> 
</div>


<!-- 全局js -->
<script src="/static/js/jquery.min.js?v=2.1.4"></script>
<script src="/static/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/static/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/static/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="/static/js/plugins/layer/layer.min.js"></script>
<!-- 实例化编辑器 -->
    <script type="text/javascript">
        function getContent() {
            var arr = [];     
            arr.push(UE.getEditor('editor').getContent());
            $("input[name=content]").val(arr);
        }
        var ue = UE.getEditor('container');
    </script>

</script>

</body>
</html>